package com.yuanli.cosmeticmirror.event;

/**
 * @author Administrator
 */
public class MainEvent<T> extends BaseEvent {
    private T data;

    public MainEvent(int action) {
        super(action);
    }

    public MainEvent(int action, T data) {
        super(action);
        this.data = data;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
